<template>
    <el-button :size="size" :type="type" @click="$emit('click')">
        <slot></slot>
    </el-button>
</template>

<script>
    export default {
        props: {
            type: {
                type: String,
                default: "primary"
            },
            size: {
                type: String,
                default: "mini"
            }
        }
    }
</script>

<style lang="scss" scoped>

</style>